import React from 'react';
import './App.css';
import { Switch, Route } from 'react-router-dom';
import Login from './pages/Login';
import Admin from './pages/Admin';
//import Counter from './pages/counter';

function App() {
  return (
    <Switch>
      <Route path="/login" component={Login} />
      <Route path="/" component={Admin} />
    </Switch>
  );
}

export default App;
